package com.by.mapper;

import com.by.bean.ProductEnquiryDetail;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductEnquiryDetailMapper extends BaseMapper<ProductEnquiryDetail> {

    /**
     * 批量保存
     * @param eid 询价单id
     * @param productEnquiryDetailList
     * @return
     */
    int batchSave(@Param("eid") int eid,@Param("productEnquiryDetailList") List<ProductEnquiryDetail> productEnquiryDetailList);

}
